package com.jiepu.daily.corejava.advanceed.part1.day0715;

import java.util.Scanner;

/**
 * @Description:  bug  100-199 区在 99-10
 * @author: xinjie.txt
 * @date: 2020/7/15  15:08
 */
public class StringSize {
	public static void printSize(int x) {
		if (x / 1000 > 1) {
			System.out.println(">999");
		} else if (x / 100 > 1) {
			System.out.println("999-100");
		} else if (x / 10 > 1) {
			System.out.println("99-10");
		} else if (x / 1 > 1) {
			System.out.println("9-1");

		} else {
			System.out.println("<1");
		}
	}

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int x=scanner.nextInt();
		printSize(x);
	}

}
